@import 'tailwindcss';

* {
  transition: all 0.5 linear;
  -webkit-transition: all 0.5 linear;
  -moz-transition: all 0.5 linear;
  -ms-transition: all 0.5 linear;
  -o-transition: all 0.5 linear;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /*解决H5IOS系统下的浏览器点击自带背景区域色*/
}

html {
  -webkit-text-size-adjust: none; /*这属性现在的一般用处是防止iPhone在坚屏转向横屏时放大文字*/
  -webkit-font-smoothing: antialiased; /*对字体进行抗锯齿渲染chrome、safari**/
  -moz-osx-font-smoothing: grayscale; /*对字体进行抗锯齿渲染firefox*/
}

html,
body {
  width: 100vw;
  height: 100vh;
  -webkit-overflow-scrolling: touch; /*ios下滚动时流畅*/
  font-family: Arial, 'Microsoft YaHei', '黑体', '宋体', sans-serif;
  /*禁止长按选择文字*/
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  background-color: 'transparent';
  color: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary,
audio,
canvas,
video {
  display: block;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  outline: none;
  -webkit-appearance: none;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none inside;
}

img {
  border: none;
  display: block;
  /* 禁止手机浏览器点击H5界面中的图片，弹出保存等系统选项， 参考https://www.jb51.net/html5/772143.html */
  pointer-events: none;
  /*属性禁用了默认的callout展示， callout是指当触摸并按住一个元素的时候出现的提示*/
  -webkit-touch-callout: none;
}

canvas {
  width: 100%;
  height: 100%;
}

#root {
  width: 100vw;
  height: 100vh;
}

#root > div {
  width: 100vw;
  height: 100vh;
}

table {
  margin: 2px;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: 100%;
}

td,
th {
  border: 1px solid #000;
  padding: 8px;
}

tbody {
  border: 2px solid #000;
}
